<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
	<head>
		<link type="text/css" href="./css/theme.css" rel="stylesheet" />
		<link type="text/css" href="./dp.SyntaxHighlighter/Styles/SyntaxHighlighter.css" rel="stylesheet" />
		<script class="javascript" src="./dp.SyntaxHighlighter/Scripts/shCore.js"> </script>
		<script class="javascript" src="./dp.SyntaxHighlighter/Scripts/shBrushJScript.js"> </script>
		<script class="javascript" src="./dp.SyntaxHighlighter/Scripts/shBrushJava.js"> </script>
		<script class="javascript" src="./dp.SyntaxHighlighter/Scripts/shBrushSql.js"> </script>
		<script class="javascript" src="./dp.SyntaxHighlighter/Scripts/shBrushXml.js"> </script>
		<script class="javascript" src="./dp.SyntaxHighlighter/Scripts/shBrushCss.js"> </script>
		<!--link rel="stylesheet" href="./css/print.css" type="text/css" media="print" /-->
		<meta content="application/xhtml+xml; charset=ISO-8859-1" http-equiv="Content-Type" />
	    		<title>Sarissa - Troubleshooting</title>
        	</head>
	<body>
      <div id="banner">
                      <a href="../" id="bannerLeft">
                                                <img src="./images/abiss/banner-logo-dev.png" alt="" />
                </a>
                
          <div id="bannerRight">
	          <!--             <a href="index.html" id="bannerRight">
                Sarissa
                </a>
       -->
	          <h1><a href="index.html">  Sarissa </a></h1>
	                      <a href="http://www.abiss.gr/" class="externalLink">Abiss.gr</a>
            |
                <a href="http://sourceforge.net/projects/sarissa/" class="externalLink">SF Project</a>
            |
                <a href="http://fisheye1.cenqua.com/browse/sarissa" class="externalLink">Fisheye</a>
                  </div>
          <div class="clear"> </div>
        </div>
      
        <!--div id="breadcrumbs">
          
          <div class="xright">            <a href="http://www.abiss.gr/" class="externalLink">Abiss.gr</a>
            |
                <a href="http://sourceforge.net/projects/sarissa/" class="externalLink">SF Project</a>
            |
                <a href="http://fisheye1.cenqua.com/browse/sarissa" class="externalLink">Fisheye</a>
              
              </div>
        </div-->
    
        <div id="columns">
          <div id="leftColumn">
            <div id="navcolumn">
                       <h5>Overview</h5>
        <ul>
                  <li class="none">
                    <a href="index.html">Introduction</a>
          </li>
                  <li class="none">
                    <a href="http://sourceforge.net/project/showfiles.php?group_id=75155" class="externalLink">Download</a>
          </li>
                  <li class="none">
                    <a href="source-repository.html">Source Code</a>
          </li>
                  <li class="none">
                    <a href="CHANGELOG.txt">Credits/Changelog</a>
          </li>
          </ul>
          <h5>Documentation</h5>
        <ul>
                  <li class="none">
                    <a href="installation.html">Installation</a>
          </li>
                  <li class="none">
                    <a href="howtos.html">HOWTOs</a>
          </li>
                  <li class="none">
                    <a href="todo.html">TODOs</a>
          </li>
                  <li class="none">
                    <a href="jsdoc/index.html">API (JSDoc)</a>
          </li>
                  <li class="none">
              <span class="nav-item-selected">Troubleshooting</span>
        </li>
                  <li class="none">
                    <a href="test/testsarissa.html">Unit Tests (ECMAUnit)</a>
          </li>
          </ul>
          <h5>Project Documentation</h5>
        <ul>
                                        
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-info.html">Project Information</a>
                </li>
          </ul>
                                                   
                        
                                    <a href="http://sourceforge.net/projects/sarissa" title="Powered by Sourceforge services for Open Source projects" class="poweredBy">
                            <img alt="Powered by Sourceforge services for Open Source projects" src="http://sflogo.sourceforge.net/sflogo.php?group_id=75155&type=1" />
            </a>
                                
                        
                                    <a href="http://fisheye1.cenqua.com/browse/sarissa" title="Source Perspective by FishEye" class="poweredBy">
                            <img alt="Source Perspective by FishEye" src="http://www.cenqua.com/images/fisheyed2.gif" />
            </a>
                                
                        
                                    <a href="http://maven.apache.org/" title="Powered by Apache Maven" class="poweredBy">
                            <img alt="Powered by Apache Maven" src="./images/maven-button-1.png" />
            </a>
                                
                        
                                    <a href="http://www.openajax.org/" title="OpenAjax Alliance Member" class="poweredBy">
                            <img alt="OpenAjax Alliance Member" src="./images/Openajax_Alliance_Member_Logo_light_bg.png" />
            </a>
                                 	
            </div>
          </div>
          <div id="centerColumn">
            <div class="section"><h2><a name="top">Troubleshooting</a>
</h2>
<ol type="1"><li><a href="#xmlload">My XML or XSLT file cannot be loaded to a DOM</a>
</li>
<li><a href="#xslt">My XSLT transform does not work</a>
</li>
<li><a href="#nonmainfiles">XPath or other functions are not available</a>
</li>
<li><a href="#iehttps">Problems with IE and secure connections/HTTPS</a>
</li>
<li><a href="#mootools">Sarissa (XPath) does not work with Mootools?</a>
</li>
</ol>
</div>
<dl><dt><a name="xmlload">My XML or XSLT file cannot be loaded to a DOM</a>
</dt>
<dd>
	   <ol>
          <li>Verify that your file is saved with the correct encoding, as denoted by the XML prolog. If the markup is generated server side, you need to set the HTTP response encoding using your API os choice (JSP, PHP etc.), usually something like <code>response.setEncoding(encoding)</code></li>
          <li>Verify that your file is served using a proper MIME type (i.e. text/xml). Again, if the markup is generated server side you need to do that through your API (something like  <code>response.setContentType("text/xml")</code>.</li>
		</ol>
      <table border="0"><tr><td align="right"><a href="#top">[top]</a>
</td></tr></table><hr />
</dd>
<dt><a name="xslt">My XSLT transform does not work</a>
</dt>
<dd>
        <ol>
          <li>Verify your XML is loaded (see <a href="#xmlload">above</a>).</li>
          <li>Verify your transformation result is well formed. For example, there can be only one root element.</li>
          <li>Try setting the <code>xsl:output</code> method to 'xml'.</li>
		</ol>
      <table border="0"><tr><td align="right"><a href="#top">[top]</a>
</td></tr></table><hr />
</dd>
<dt><a name="nonmainfiles">XPath or other functions are not available</a>
</dt>
<dd>
        <p>You need to include the appropriate sarissa javascript file in your webpage, for example sarissa_ieemu_xpath.js.</p>
      <table border="0"><tr><td align="right"><a href="#top">[top]</a>
</td></tr></table><hr />
</dd>
<dt><a name="iehttps">Problems with IE and secure connections/HTTPS</a>
</dt>
<dd>
        <p>When your page is using HTTPS, your XML-loading code (XMLHttpRequest or Document.load) should do the same.</p>
      <table border="0"><tr><td align="right"><a href="#top">[top]</a>
</td></tr></table><hr />
</dd>
<dt><a name="mootools">Sarissa (XPath) does not work with Mootools?</a>
</dt>
<dd>To fix this simply make sure the Sarissa scripts are loaded before Mootools. <table border="0"><tr><td align="right"><a href="#top">[top]</a>
</td></tr></table></dd>
</dl>

          </div>
          
          <!--div id="rightColumn">
            text here...
          </div-->
          <div class="clear"> </div>
        </div>
	  
	  
        
        <div id="footer">
          <div class="infooter">
            &#169;            2003-2008
              Abiss.gr
            
                                
                                
                        <div class="xleft">
        Last Published: 08/05/2008
                      </div>
                </div>
        </div>
 
		<script class="javascript">
		dp.SyntaxHighlighter.ClipboardSwf = './dp.SyntaxHighlighter/Scripts/clipboard.swf';
		dp.SyntaxHighlighter.HighlightAll('code');
		</script>

  </body>
</html>
